package org.devgframwork.datasync.core.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Getter;
import lombok.Setter;

@Getter
@Setter
@TableName("t_schedule_config")
public class ScheduleConfig extends CoConfig {

    @TableId("SCHEDULE_CONFIG_ID")
    private Long scheduleConfigId;

    @TableField("TASK_NAME")
    private String taskName;

    @TableField("CRON")
    private String cron;

    @TableField("BATCH_SIZE")
    private Integer batchSize;

    @TableField("IS_RUNNING")
    private Integer isRunning;

    @TableField("TOTAL_NUM")
    private Integer totalNum;

    @TableField("SYNC_NUM")
    private Integer syncNum;

    @TableField("SYNC_TIME")
    private Long syncTime;

    @TableField("THREAD_NUM")
    private Integer threadNum;

    @TableField("IS_DELETE")
    private Integer isDelete;

    @TableField("ENV_NAME")
    private String evnName;

    @TableField("IS_TRACK")
    private Integer isTrack;

    @TableField("TRACK_COLUMN_NAME")
    private String trackColumnName;

    @TableField("TRACK_COLUMN_VALUE")
    private String trackColumnValue;
}
